import Vue from 'vue'
import Router from 'vue-router'
import test from './components/test.vue'
import HelloWorld from './components/HelloWorld.vue'

Vue.use(Router)

const router = new Router({
    routes: [
        {
            path: '/test',
            name: 'test',
            component: test
        }, {
            path: '/',
            name: 'index',
            component: HelloWorld
        }
    ]
})

export default router
